package com.squid;


import com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure;
import com.squid.base.common.annotation.enable.EnableBruialPoint;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Description
 *
 * @author jinhang
 * @since 2024-2-7
 **/
@SpringBootApplication(scanBasePackages = {"com.squid.base", "com.squid.auth"}
        ,exclude ={})
@EnableDiscoveryClient
@ServletComponentScan
@MapperScan(value = "com.squid.auth.model.mapper")
@Slf4j
@EnableBruialPoint
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class);
        log.info("Auth权限服务启动");
    }
}
